

const pro = {
    path: 'product',
    component: () => import('@/views/product/container.vue'),
    meta: {
        title: '产品管理'
    },

    children: [
        {
            path: 'data',
            component: () => import('@/views/product/data.vue'),
            meta: {
                title: '主页'
            },
        },
        {
            path: '',
            component: () => import('@/views/product/index.vue'),
            meta: {
                title: '统计'
            },
        },
        {
            path: 'type',
            component: () => import('@/views/product/protype.vue'),
            meta: {
                title: '类型'
            },
        },
        {
            path: 'package',
            component: () => import('@/views/product/package.vue'),
            meta: {
                title: '套餐'
            },
        },
        {
            path: 'packdetail/:id',
            component: () => import('@/views/product/packdetail.vue'),
            meta: {
                title: '套餐详情'
            },
        },

        {
            path: 'addpro',
            component: () => import('@/views/product/addpro.vue'),
            meta: {
                title: '新增产品'
            },
        },
        {
            path: 'addpackage',
            component: () => import('@/views/product/addpackage.vue'),
            meta: {
                title: '新增套餐'
            },
        },
        {
            path: 'prodetail/:id',
            component: () => import('@/views/product/prodetail.vue'),
            meta: {
                title: '产品详情'
            },
        },

    ]
}
export default pro
